using Gateway.IApplication.BaseInput;
using Gateway.IApplication.Tenant.Input;
using Gateway.Infrastructure.AutoDI;

namespace Gateway.IApplication.Tenant;

/// <summary>
/// 租户服务
/// </summary>
public interface ITenantApp : IDependency
{
    /// <summary>
    /// 添加
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<bool> Add(CreateTenantInput input);

    /// <summary>
    /// 更新
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<bool> Update(UpdateTenantInput input);

    /// <summary>
    /// 禁用/启用
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<bool> Disable(DisableInput input);

    /// <summary>
    /// 删除
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<bool> Remove(RemoveInput input);
}